package cn.kongwg.aopanno;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @author kongwg
 * @create 2021-02-24 20:36
 */
@Component
@Aspect
@Order(1)
public class ProxyPerson {

    @Before("execution(* cn.kongwg.bean.*.*(..))")
    public void before(){
        System.out.println("ProxyPerson........");
    }
}
